#ifndef __WINDOW_H
#define __WINDOW_H

#include <gui/widget.h>

class Window : public CompositeWidget
{
private:
    /* data */
    bool dragging;
public:
    Window(Widget* parent, int32_t x, int32_t y, int32_t w, int32_t h,
            int32_t r, int32_t g, int32_t b);
    ~Window();

    virtual void OnMouseDwon(int32_t x, int32_t y, uint8_t button);
    virtual void OnMouseUp(int32_t x, int32_t y, uint8_t button);
    virtual void OnMouseMove(int32_t oldX, int32_t oldY, int32_t newX, int32_t newY);

};






#endif